<?php
class Model_Tests extends Model_Base
{
	public function isValid($name, $subject)
	{
		if(!$name || !$subject){
			return false;
		}
		return true;
	}
	
	public function save(array $data)
	{
		$table = new Model_DbTable_Tests();
		return $table->save($data);
	}
}